<!DOCTYPE html>
<html lang="cn">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>cjdoc</title>
</head>

<body>
<div class="header">
<h2>package qt.widgets</h2>
</div>

<div class="header">
<h2 title="类 QAction" class="title">类 QAction</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public <span class="typeNameLabel">QAction</span>
extends Any</pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!--   -->
</a>
<h3>字段概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释">
<caption><span>字段</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">字段和说明</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>public let Int64</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.action.html#ptr">ptr</a></span></code>
<div class="block">QAction类对象指针</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>public let QActionTriggeredSignal<Bool></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.action.html#triggered">triggered</a></span></code>
<div class="block">动作触发信号</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>方法概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
<caption><span>所有方法</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">方法和说明</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>public  Unit</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.action.html#init">init</a></span>()</code>
<div class="block">默认构造函数</div>
</td>
<tr class="rowColor">
<td class="colFirst"><code>public  Unit</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.action.html#init">init</a></span>(parent: QWidget)</code>
<div class="block">默认构造函数</div>
</td>
<tr class="altColor">
<td class="colFirst"><code>public  Unit</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.action.html#setStatusTip">setStatusTip</a></span>(tip: String)</code>
<div class="block">设置状态提示</div>
</td>
<tr class="rowColor">
<td class="colFirst"><code>public  Unit</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.action.html#setText">setText</a></span>(text: String)</code>
<div class="block">设置动作文本</div>
</td>
<tr class="altColor">
<td class="colFirst"><code>public  String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.action.html#text">text</a></span>()</code>
<div class="block">获取动作文本</div>
</td>
<tr class="rowColor">
<td class="colFirst"><code>public  Unit</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.action.html#setIcon">setIcon</a></span>(icon: QIcon)</code>
<div class="block">设置动作图标</div>
</td>
<tr class="altColor">
<td class="colFirst"><code>public  QIcon</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.action.html#icon">icon</a></span>()</code>
<div class="block">获取动作动作</div>
</td>
<tr class="rowColor">
<td class="colFirst"><code>public  Unit</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.action.html#setCheckable">setCheckable</a></span>(checkable: Bool)</code>
<div class="block">设置可检测的</div>
</td>
<tr class="altColor">
<td class="colFirst"><code>public  Bool</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.action.html#isCheckable">isCheckable</a></span>()</code>
<div class="block">获取可检测的状态</div>
</td>
<tr class="rowColor">
<td class="colFirst"><code>public  Unit</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.action.html#setChecked">setChecked</a></span>(checked: Bool)</code>
<div class="block">设置选中状态</div>
</td>
<tr class="altColor">
<td class="colFirst"><code>public  Bool</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.action.html#isChecked">isChecked</a></span>()</code>
<div class="block">获取选中状态</div>
</td>
<tr class="rowColor">
<td class="colFirst"><code>public  Unit</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.action.html#delete">delete</a></span>()</code>
<div class="block">释放内存</div>
</td>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!--   -->
</a>
<h3>字段详细资料</h3>
<a name="ptr">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ptr</h4>
<pre>public let ptr: Int64</pre>
<div class="block">QAction类对象指针</div>
</li>
</ul>
<a name="triggered">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>triggered</h4>
<pre>public let triggered: QActionTriggeredSignal<Bool></pre>
<div class="block">动作触发信号</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>方法详细资料</h3>
<a name="init">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>public  init(): Unit</pre>
<div class="block">默认构造函数</div>
<dl>
</dl>
</li>
</ul>
<a name="init">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>public  init(parent: QWidget): Unit</pre>
<div class="block">默认构造函数</div>
<dl>

<dt><span class="paramLabel">参数:</span></dt>

<dd><code>parent</code> - QWidget父类</dd>
</dl>
</li>
</ul>
<a name="setStatusTip">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStatusTip</h4>
<pre>public  setStatusTip(tip: String): Unit</pre>
<div class="block">设置状态提示</div>
<dl>

<dt><span class="paramLabel">参数:</span></dt>

<dd><code>tip</code> - 提示文本</dd>
</dl>
</li>
</ul>
<a name="setText">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setText</h4>
<pre>public  setText(text: String): Unit</pre>
<div class="block">设置动作文本</div>
<dl>

<dt><span class="paramLabel">参数:</span></dt>

<dd><code>text</code> - 文本</dd>
</dl>
</li>
</ul>
<a name="text">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>text</h4>
<pre>public  text(): String</pre>
<div class="block">获取动作文本</div>
<dl>
<dt><span class="returnLabel">返回:</span></dt>
<dd>String 文本</dd>
</dl>
</li>
</ul>
<a name="setIcon">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIcon</h4>
<pre>public  setIcon(icon: QIcon): Unit</pre>
<div class="block">设置动作图标</div>
<dl>

<dt><span class="paramLabel">参数:</span></dt>

<dd><code>icon</code> - 图标</dd>
</dl>
</li>
</ul>
<a name="icon">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>icon</h4>
<pre>public  icon(): QIcon</pre>
<div class="block">获取动作动作</div>
<dl>
<dt><span class="returnLabel">返回:</span></dt>
<dd>QIcon 图标</dd>
</dl>
</li>
</ul>
<a name="setCheckable">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCheckable</h4>
<pre>public  setCheckable(checkable: Bool): Unit</pre>
<div class="block">设置可检测的</div>
<dl>

<dt><span class="paramLabel">参数:</span></dt>

<dd><code>checkable</code> - 是否可检测</dd>
</dl>
</li>
</ul>
<a name="isCheckable">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCheckable</h4>
<pre>public  isCheckable(): Bool</pre>
<div class="block">获取可检测的状态</div>
<dl>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Bool 是否可检测</dd>
</dl>
</li>
</ul>
<a name="setChecked">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setChecked</h4>
<pre>public  setChecked(checked: Bool): Unit</pre>
<div class="block">设置选中状态</div>
<dl>

<dt><span class="paramLabel">参数:</span></dt>

<dd><code>checked</code> - 是否选中</dd>
</dl>
</li>
</ul>
<a name="isChecked">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isChecked</h4>
<pre>public  isChecked(): Bool</pre>
<div class="block">获取选中状态</div>
<dl>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Bool 是否选中</dd>
</dl>
</li>
</ul>
<a name="delete">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
<pre>public  delete(): Unit</pre>
<div class="block">释放内存</div>
<dl>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="header">
<h2 title="类 QActionTriggeredSignal<T>" class="title">类 QActionTriggeredSignal<T></h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public <span class="typeNameLabel">QActionTriggeredSignal<T></span>
extends QWidgetSignal<T></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>方法概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
<caption><span>所有方法</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">方法和说明</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>public  Unit</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.action.html#nativeConnect">nativeConnect</a></span>(code: Int64, cb: CFunc<(Int64,CPointer<Unit>)->Unit>)</code>
<div class="block">The Function is nativeConnect</div>
</td>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>方法详细资料</h3>
<a name="nativeConnect">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nativeConnect</h4>
<pre>public  nativeConnect(code: Int64, cb: CFunc<(Int64,CPointer<Unit>)->Unit>): Unit</pre>
<div class="block">The Function is nativeConnect</div>
<dl>

<dt><span class="paramLabel">参数:</span></dt>

<dd><code>code</code> - of Int64</dd>

<dd><code>cb</code> - of CFunc<(Int64,CPointer<Unit>)->Unit></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>


</body>
</html>
